Creates a new search context, associated with @buffer, and customized with @settings.
If @settings is %NULL, a new [class@SearchSettings] object will be created, that you can retrieve with [method@SearchContext.get_settings].
a #GtkSourceBuffer.
a #GtkSourceSearchSettings, or %NULL.
a new search context.
ConstructionException GTK+ fails to create the object.
See Implementation
Creates a new search context, associated with @buffer, and customized with @settings.
If @settings is %NULL, a new [class@SearchSettings] object will be created, that you can retrieve with [method@SearchContext.get_settings].